package com.ddwl.schema.vo.user;

import com.ddwl.schema.vo.shop.ShopVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * @Author hemiaojun
 * @Date 2021/9/16 14:20
 */
@Getter
@Setter
@ApiModel(value = "代理用户信息")
public class AgentUserInfoVo {

    private String id;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "直接上级ID")
    private String immediateSuperior;

    @ApiModelProperty(value = "直接上级昵称")
    private String immediateSuperiorName;

    @ApiModelProperty(value = "间接上级ID")
    private String indirectSuperior;
    @ApiModelProperty(value = "间接上级昵称")
    private String indirectSuperiorName;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "真实姓名")
    private String realname;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private Byte sex;

    @ApiModelProperty(value = "用户代理区域多个逗号隔开")
    private String agentRegion;

    @ApiModelProperty(value = "创建时间")
    private Instant gmtCreated;

    @ApiModelProperty(value = "代理等级 1个人代理 2店铺代理 3区域合伙人")
    private Integer profitLevel;

    @ApiModelProperty("为上级带来的收益")
    private BigDecimal toSuperiorAmount;

    @ApiModelProperty("店铺信息")
    private ShopVo shop;

}
